import cv2 as cv
import numpy as np

img = cv.imread("assets/lena.jpg", cv.IMREAD_GRAYSCALE)

print(img.shape)
cv.imshow("all_img", img)
'''
height = img.shape[0]
blue = img[:, :, 0]
green = img[:, :, 1]
red = img[:, :, 2]

#empty = np.zeros_like(blue, np.uint8)
empty = np.zeros((400,400), np.uint8)

blue_img  = np.dstack((blue,  empty, empty))
green_img = np.dstack((empty, green, empty))
red_img   = np.dstack((empty, empty, red))

all_img = np.hstack((blue_img, green_img, red_img))

cv.imshow("all_img", all_img)
'''
#cv.imshow("blue", blue_img)
#cv.imshow("green", green_img)
#cv.imshow("red", red_img)

cv.waitKey(0)





